package com.person.cloud.feign.client;

import com.person.common.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zhangfc
 * @date 2021/7/26 21:43
 */
@FeignClient(value = "http://nacosprovider70",fallback = GoodsFeignClientImpl.class)
public interface GoodsFeignClient {
    @GetMapping("/getgoods")
    public CommonResult getGoods();
}
